//
//  EpointIOUtil.h
//  EpointFrame5
//
//  Created by 李亚春 on 14-1-22.
//  Copyright (c) 2014年 Epoint. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface EpointIOUtil : NSObject

//解决打开txt文件乱码的问题
+(void)openTxtFile:(NSString*)fileName withWebView:(UIWebView *)wv;

//将文件写入指定路径
+(BOOL) writeToFile:(NSString*)fileWithPath withData:(NSData*)data;

//单个文件的大小
+ (long long) fileSizeAtPath:(NSString*) filePath;

//遍历文件夹获得文件夹大小，返回多少M
+ (float ) folderSizeAtPath:(NSString*) folderPath;

//删除文件
+(void)deleteFile:(NSString*)filePath;

//加载某路径图片
+(void)loadImageAtPath:(UIImageView *)iv path:(NSString*) filepath;

@end
